package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员证件信息对象 c5_personnel_certificates
 * 
 * @author whz
 * @date 2024-12-04
 */
public class PersonnelCertificates extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long personId;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String certificateType;

    /** 证件名称 */
    @Excel(name = "证件名称")
    private String certificateName;

    /** 证件编号 */
    @Excel(name = "证件编号")
    private String certificateNumber;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validUntil;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String personnelCertificatesExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String personnelCertificatesExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String personnelCertificatesExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String personnelCertificatesExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String personnelCertificatesExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setCertificateType(String certificateType) 
    {
        this.certificateType = certificateType;
    }

    public String getCertificateType() 
    {
        return certificateType;
    }
    public void setCertificateName(String certificateName) 
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setCertificateNumber(String certificateNumber) 
    {
        this.certificateNumber = certificateNumber;
    }

    public String getCertificateNumber() 
    {
        return certificateNumber;
    }
    public void setValidUntil(Date validUntil) 
    {
        this.validUntil = validUntil;
    }

    public Date getValidUntil() 
    {
        return validUntil;
    }
    public void setPersonnelCertificatesExtra1(String personnelCertificatesExtra1) 
    {
        this.personnelCertificatesExtra1 = personnelCertificatesExtra1;
    }

    public String getPersonnelCertificatesExtra1() 
    {
        return personnelCertificatesExtra1;
    }
    public void setPersonnelCertificatesExtra2(String personnelCertificatesExtra2) 
    {
        this.personnelCertificatesExtra2 = personnelCertificatesExtra2;
    }

    public String getPersonnelCertificatesExtra2() 
    {
        return personnelCertificatesExtra2;
    }
    public void setPersonnelCertificatesExtra3(String personnelCertificatesExtra3) 
    {
        this.personnelCertificatesExtra3 = personnelCertificatesExtra3;
    }

    public String getPersonnelCertificatesExtra3() 
    {
        return personnelCertificatesExtra3;
    }
    public void setPersonnelCertificatesExtra4(String personnelCertificatesExtra4) 
    {
        this.personnelCertificatesExtra4 = personnelCertificatesExtra4;
    }

    public String getPersonnelCertificatesExtra4() 
    {
        return personnelCertificatesExtra4;
    }
    public void setPersonnelCertificatesExtra5(String personnelCertificatesExtra5) 
    {
        this.personnelCertificatesExtra5 = personnelCertificatesExtra5;
    }

    public String getPersonnelCertificatesExtra5() 
    {
        return personnelCertificatesExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("certificateType", getCertificateType())
            .append("certificateName", getCertificateName())
            .append("certificateNumber", getCertificateNumber())
            .append("validUntil", getValidUntil())
            .append("personnelCertificatesExtra1", getPersonnelCertificatesExtra1())
            .append("personnelCertificatesExtra2", getPersonnelCertificatesExtra2())
            .append("personnelCertificatesExtra3", getPersonnelCertificatesExtra3())
            .append("personnelCertificatesExtra4", getPersonnelCertificatesExtra4())
            .append("personnelCertificatesExtra5", getPersonnelCertificatesExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
